{% extends 'layouts/main.html' %}

{% set pageTitle = "招聘信息详情" %}
{% set pageDesc = "在本站的信息" %}

{% block content %}
<div class="box">
    <div class="box-header with-border">
        <h3 class="box-title">{{ job.title }}</h3>

        <div class="box-tools pull-right">
            <button type="button" class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip" title="Collapse">
                <i class="fa fa-minus"></i></button>
        </div>
    </div>
    <div class="box-body">
        <p>
            信息来源 <a href="{{ job.source.url }}" target="_blank">{{ job.source.title }}</a>
        </p>
        <p>
            宣讲会时间 {{ job.open_date }} <i>详情请点击<a href="{{ job.url }}" target="_blank">这里</a></i>
        </p>
        <p>
            信息标签
            {% for tag in job.tags.split(',') %}
                <span class="label label-success">{{ tag }}</span>
            {% endfor %}
        </p>
        <h4>页面文本信息</h4>
        {{ job.content }}
    </div>
    <!-- /.box-body -->
    <div class="box-footer">
        <a href="{{ url_for('main.status_job', id=job.id) }}"
           class="btn {{ 'btn-danger' if job.status == 1 else 'fa-success' }}">
            {{ '删除' if job.status == 1 else '显示' }}
        </a>
    </div>
    <!-- /.box-footer-->
</div>

{% endblock %}